package b1.players
{
	public class PackageInfo
	{
		public var objectList:Object;
		
		public function PackageInfo(packageXML:XML = null)
		{
			objectList = new Object();
			if (packageXML != null)
			{
				for (var i:int = 0; i < packageXML.object.length(); i++)
				{
					var objectIndex:int = parseInt(packageXML.object[i].objectIndex);
					var objectNum:int = parseInt(packageXML.object[i].objectNum);
					objectList[objectIndex] = objectNum;
				}
			}
		}
	}
}